package com.gs.orderservice.feign;

import com.gs.orderservice.entity.SysUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @ProjectName: apollomodulestest
 * @Package: com.gs.orderservice.feign
 * @Description: java类作用描述
 * @Author: guoshuai
 * @CreateDate: 2019/7/26 20:01
 * @UpdateUser: guoshuai
 * @UpdateDate: 2019/7/26 20:01
 * @UpdateRemark: The modified content
 * @Version: 1.0
 **/
@FeignClient(name = "user-service")
public interface UserFeign {
    @RequestMapping(value = "/saveUser", method = RequestMethod.POST,consumes = "application/json")
    void saveUser(SysUser sysUser);

}
